package top.wyix.framework.desensitize.core.address;

import top.wyix.framework.desensitize.core.base.handler.DesensitizationHandler;
import top.wyix.framework.desensitize.test.DesensitizeTest;

/**
 * {@link Address} 的脱敏处理器
 *
 * 用于 {@link DesensitizeTest} 测试使用
 *
 * @author wangdx
 */
public class AddressHandler implements DesensitizationHandler<Address> {
    @Override
    public String desensitize(String origin, Address annotation) {
        return origin + annotation.replacer();
    }

}
